import request from '@/utils/request';

export async function getList(params) {
  return request(`/osApi/insDeduDetExt/listRetired/page`, {
    method: 'POST',
    body: params,
  });
}

export async function signHandle(params) {
  return request(`/osApi/insDeduDetExt/markRetiredComplete`, {
    method: 'POST',
    body: params,
  });
}

export async function applyOnline(params) {
  return request(`/osApi/insDeduDetExt/syncInsOnLineRetiredDecl`, {
    method: 'POST',
    body: params,
  });
}

export async function declareExport(params) {
  return request(`/osApi/insDeduDetExt/exportDeclResultDet`, {
    method: 'POST',
    body: params,
  });
}
